import 'package:get/get.dart';

import '../modules/companyList/bindings/company_list_binding.dart';
import '../modules/companyList/views/company_list_view.dart';
import '../modules/home/bindings/home_binding.dart';
import '../modules/home/views/home_view.dart';
import '../modules/ipElite/bindings/ip_elite_binding.dart';
import '../modules/ipElite/views/ip_elite_view.dart';
import '../modules/projectList/bindings/project_list_binding.dart';
import '../modules/projectList/views/project_list_view.dart';
import '../modules/work/detail/bindings/work_detail_binding.dart';
import '../modules/work/detail/views/work_detail_view.dart';
import '../modules/workList/bindings/work_list_binding.dart';
import '../modules/workList/views/work_list_view.dart';

part 'app_routes.dart';

class AppPages {
  AppPages._();

  static const INITIAL = Routes.HOME;

  static final routes = [
    GetPage(
      name: _Paths.HOME,
      page: () => const HomeView(),
      binding: HomeBinding(),
    ),
    GetPage(
      name: _Paths.WORK_LIST,
      page: () => const WorkListView(),
      binding: WorkListBinding(),
    ),
    GetPage(
      name: _Paths.PROJECT_LIST,
      page: () => const ProjectListView(),
      binding: ProjectListBinding(),
    ),
    GetPage(
      name: _Paths.COMPANY_LIST,
      page: () => const CompanyListView(),
      binding: CompanyListBinding(),
    ),
    GetPage(
      name: _Paths.IP_ELITE,
      page: () => const IpEliteView(),
      binding: IpEliteBinding(),
    ),
    GetPage(
      name: _Paths.WORK_DETAIL,
      page: () => const WorkDetailView(),
      binding: WorkDetailBinding(),
    ),
  ];
}
